package org.smr.dev.utils;

import java.util.HashMap;
import java.util.Map;

public class CodeConst {

    private static Map variables = new HashMap();

    public static final String PROJECT_DIR = "PROJECT_DIR";

    public static final String PROJECT_NAME = "PROJECT_NAME";

    public static final String DAO_PACKAGE_VARIABLE = "DAO_PACKAGE_VARIABLE";

    public static final String MODEL_PACKAGE_VARIABLE = "MODEL_PACKAGE_VARIABLE";

    public static final String VO_PACKAGE_VARIABLE = "VO_PACKAGE_VARIABLE";

    public static final String QUERY_VO_PACKAGE_VARIABLE = "QUERY_VO_PACKAGE_VARIABLE";
    public static final String SERVICE_PACKAGE_VARIABLE = "SERVICE_PACKAGE_VARIABLE";
    public static final String REPOSITORY_PACKAGE_VARIABLE = "REPOSITORY_PACKAGE_VARIABLE";
    public static final String MICRO_SERVICE_PACKAGE_VARIABLE = "MICRO_SERVICE_PACKAGE_VARIABLE";
    public static final String MICRO_SERVICE_CLIENT_PACKAGE_VARIABLE = "MICRO_SERVICE_CLIENT_PACKAGE_VARIABLE";

    public static final String SERVICE_IMPL_PACKAGE_VARIABLE = "SERVICE_IMPL_PACKAGE_VARIABLE";


    public static final String REPOSITORY_IMPL_PACKAGE_VARIABLE = "REPOSITORY_IMPL_PACKAGE_VARIABLE";
    public static final String CONTROLLER_PACKAGE_VARIABLE = "CONTROLLER_PACKAGE_VARIABLE";
    public static final String PROJECT_PACKAGE_VARIABLE = "PROJECT_PACKAGE_VARIABLE";

    public static final String MODULE_NAME_VARIABLE = "MODULE_NAME_VARIABLE";

    public static final String JAVA_BEAN_NAME_VARIABLE = "JAVA_BEAN_NAME_VARIABLE";

    public static final String JAVA_VO_NAME_VARIABLE = "JAVA_VO_NAME_VARIABLE";
    public static final String JAVA_QUERY_VO_NAME_VARIABLE = "JAVA_QUERY_VO_NAME_VARIABLE";

    public static final String TABLE_NAME_VARIABLE = "TABLE_NAME_VARIABLE";
    public static final String URL_PARTS_VARIABLE = "URL_PARTS_VARIABLE";

    public static final String MODEL_PROPERTY_VARIABLE = "MODEL_PROPERTY_VARIABLE";
    public static final String PROJECT_MODEL_VARIABLE = "PROJECT_MODEL_VARIABLE";

    public static final String PROJECT_MODULE_LIST_VARIABLE = "PROJECT_MODULE_LIST_VARIABLE";

    /**
     * 项目组Id
     */
    public static final String PROJECT_GROUP_ID = "PROJECT_GROUP_ID";

    public static final String MODULE_DEFINE = "MODULE_DEFINE";

    public static final String JAVA_BEAN_CAMEL_NAME_VARIABLE = "JAVA_BEAN_CAMEL_NAME_VARIABLE";

    public static void put( String key, Object object ){
        variables.put(key, object);
    }

    public static Object get(String key){
        return variables.get(key);
    }

    public static Map getData(){
        return variables;
    }


}
